home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presentation Library 1993 Winter / The Apple Reference & Presentations Library CD Winter 93 - Partner Edition.7z / Image.iso / Applications / Technical Publishing / Aldus PageMaker 4.2 / Aldus / APDs / HP LaserJet IIP.apd < prev    next >
Text File  |  1991-04-11  |  11KB  |  273 lines

  1. @Comment: HP PostScript Cartridge for Hewlett-Packard LaserJet family of printers.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   1.2  $
  4. @Comment:     $Date:   4 April 1990 12:03:58  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, 3.0, and 4.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(HP LaserJet IIP)"
  10. @PSVersion: "(52.2)"
  11. @PSRevision: "0"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file,to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "1041390"
  21. @WorkingMem: "25000"
  22. @AldusHeaderMem: "34000"
  23. @Comment: Example of declaration of a downloadable font's memory requirement:
  24. @Comment: @FontMem "Benjo-Light": "82600"
  25.  
  26. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  27. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  28. @AldusPatchFile: ""
  29. @ExitServer: "serverdict begin exitserver "
  30. @Password: "0"
  31.  
  32. @DefaultScreenFreq: "60"
  33. @DefaultScreenAngle: "45"
  34. @DefaultScreenProc: "{dup mul exch dup mul add sqrt 1 exch sub}"
  35.  
  36. @ScreenFreq: ""
  37. @ScreenAngle: ""
  38. @ScreenProc: ""
  39.  
  40. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  41. @Transfer: ""
  42. @InvertTransfer: "{1 exch sub}"
  43.  
  44. @NormalizedTransfer: "{
  45. mark
  46. 1.0 1.0 .98 .86 .76 .64 .54 .45 .36 .24 .11 .0
  47. counttomark dup 3 add -1 roll exch
  48. 2 sub mul dup floor cvi
  49. dup 3 1 roll sub
  50. exch dup 
  51. 3 add index exch 2 add index dup
  52. 4 1 roll
  53. sub mul add
  54. counttomark 1 add 1 roll 
  55. cleartomark
  56. } bind"
  57. @End
  58.  
  59. @InvertNormalizedTransfer: "{
  60. mark
  61. .0 .0 .11 .24 .36 .45 .54 .64 .76 .86 .98 1.0
  62. counttomark dup 3 add -1 roll exch
  63. 2 sub mul dup floor cvi
  64. dup 3 1 roll sub
  65. exch dup 
  66. 3 add index exch 2 add index dup
  67. 4 1 roll
  68. sub mul add
  69. counttomark 1 add 1 roll 
  70. cleartomark
  71. } bind"
  72. @End
  73.  
  74. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  75. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  76. @Comment: If 11 or more saves, VM query makes memory look full, PM will flush fonts.
  77. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  78.     {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  79. @End
  80. @?OutputOrder: "pagestackorder {(facedown)}{(faceup)} ifelse = flush"
  81. @Comment: Paper tray query retrieves the current paper number
  82. @Comment:    and converts it to the equivalent string.
  83. @Comment:    @?PaperTray: "save mark (C5Env) (DLEnv) (MonarchEnv) (Com10Env)
  84. @Comment:        () () () (B5) (A4) (Executive) (Legal) (Letter)
  85. @Comment:        12 statusdict /papertype get exec roll
  86. @Comment:        = flush cleartomark restore"
  87. @End
  88.  
  89.  
  90. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  91. @DefaultPageSize:        "Letter"
  92. @PageSize Letter:        "letter"
  93. @PageSize Legal:        "legal"
  94. @PageSize Executive:     "executivepage"
  95. @PageSize A4:            "a4"
  96. @PageSize Com10Env:        "com10envelope"
  97. @PageSize MonarchEnv:    "monarcenvelope"
  98. @PageSize C5Env:        "c5envelope"
  99. @PageSize DLEnv:        "dlenvelope"
  100.  
  101. @Comment: PageRegion gives the printable area of each paper option.
  102. @PageRegion Letter:         "18 18 594 774"
  103. @PageRegion Legal:         "18 18 594 990"
  104. @PageRegion Executive:    "19.08 18 502.92 738"
  105. @PageRegion A4:         "17.29 17.72 577.98 824.17"
  106. @PageRegion Com10Env:    "17.82 18 279.18 666"
  107. @PageRegion MonarchEnv:    "18.54 18 260.46 522"
  108. @PageRegion C5Env:        "18.36 18 441 630.72"
  109. @PageRegion DLEnv:        "17.66 18 294.15 605.62"
  110.  
  111. @Comment: PaperDimension gives the total paper size of each option.
  112. @PaperDimension Letter:     "612 792"
  113. @PaperDimension Legal:         "612 1008"
  114. @PaperDimension Executive:    "522 756"
  115. @PaperDimension A4:         "595.28 841.89"
  116. @PaperDimension Com10Env:    "297 684"
  117. @PaperDimension MonarchEnv:    "279 540"
  118. @PaperDimension C5Env:         "459 648.72"
  119. @PaperDimension DLEnv:        "311.81 623.62"
  120.  
  121. @Comment: Setting the “papertray” value directly selects an input slot
  122. @Comment:    without resetting the image area;
  123. @Comment:    Using the “setpapertray” operator resets the image area to
  124. @Comment:    correspond to whatever tray is in the input slot selected.
  125. @DefaultInputSlot:    "MP"
  126. @InputSlot MP:    "statusdict begin 0 setpapertray end"
  127. @InputSlot Lower:    "statusdict begin 1 setpapertray end"
  128.  
  129. @DefaultOutputOrder: "facedown"
  130.  
  131. @ManualFeed true:    "statusdict begin /manualfeed true def end"
  132. @ManualFeed false:    "statusdict begin /manualfeed false def end"
  133.  
  134. @DefaultFont: "Courier"
  135. @Font "Times-Roman": "Standard" "(001.002)"
  136. @Font "Times-Bold": "Standard" "(001.002)"
  137. @Font "Times-Italic": "Standard" "(001.002)"
  138. @Font "Times-BoldItalic": "Standard" "(001.004)"
  139. @Font "Helvetica": "Standard" "(001.002)"
  140. @Font "Helvetica-Bold": "Standard" "(001.002)"
  141. @Font "Helvetica-Oblique": "Standard" "(001.002)"
  142. @Font "Helvetica-BoldOblique": "Standard" "(001.002)"
  143. @Font "Courier": "Standard" "(002.002)"
  144. @Font "Courier-Bold": "Standard" "(002.002)"
  145. @Font "Courier-Oblique": "Standard" "(002.002)"
  146. @Font "Courier-BoldOblique": "Standard" "(002.002)"
  147. @Font "Symbol": "Special" "(001.003)"
  148. @Font "Palatino-Roman": "Standard" "(001.001)"
  149. @Font "Palatino-Italic": "Standard" "(001.002)"
  150. @Font "Palatino-Bold": "Standard" "(001.002)"
  151. @Font "Palatino-BoldItalic": "Standard" "(001.002)"
  152. @Font "AvantGarde-Book": "Standard" "(001.002)"
  153. @Font "AvantGarde-BookOblique": "Standard" "(001.002)"
  154. @Font "AvantGarde-Demi": "Standard" "(001.003)"
  155. @Font "AvantGarde-DemiOblique": "Standard" "(001.003)"
  156. @Font "Bookman-Light": "Standard" "(001.001)"
  157. @Font "Bookman-LightItalic": "Standard" "(001.001)"
  158. @Font "Bookman-Demi": "Standard" "(001.001)"
  159. @Font "Bookman-DemiItalic": "Standard" "(001.001)"
  160. @Font "Helvetica-Narrow": "Standard" "(001.002)"
  161. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.002)"
  162. @Font "Helvetica-Narrow-Bold": "Standard" "(001.002)"
  163. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.002)"
  164. @Font "NewCenturySchlbk-Roman": "Standard" "(001.004)"
  165. @Font "NewCenturySchlbk-Italic": "Standard" "(001.003)"
  166. @Font "NewCenturySchlbk-Bold": "Standard" "(001.006)"
  167. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.004)"
  168. @Font "ZapfChancery-MediumItalic": "Standard" "(001.003)"
  169. @Font "ZapfDingbats": "Special" "(001.002)"
  170.  
  171.  
  172. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  173. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  174.  
  175. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  176.                 : "Printer “^2” needs attention: paper jam."
  177. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  178.                 : "Printer “^2” needs attention: \Reason\."
  179.  
  180. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  181.                 : "Printer “^2” needs attention: paper jam."
  182. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  183.                 : "Printer “^2” needs attention: \Reason\."
  184.  
  185. @ParameterReason    "no paper tray" :         "no paper tray"
  186. @ParameterReason    "out of paper" :         "out of paper"
  187. @ParameterReason    "cover open" :             "cover open"
  188. @ParameterReason    "warming up" :             "warming up"
  189. @ParameterReason    "service call" :         "service call"
  190. @ParameterReason    "resetting printer" :     "resetting printer"
  191. @ParameterReason    "cover open" :             "cover open"
  192. @ParameterReason    "timeout, clearing printer" : "timeout"
  193. @ParameterReason    "timeout" :             "timeout"
  194. @ParameterReason    "manual feed timeout" :    "manual feed timeout"
  195. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  196.  
  197.  
  198. @Comment: PrinterMessage displays the translation string in the status line.
  199. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: 
  200. \source\"
  201.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  202. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  203.                 : "Document: \jobname\;  status: \Status\."
  204. @PrinterMessage     "status: \Status\; source: \source\"
  205.                 : "Status: \Status\."
  206. @PrinterMessage     "\Font1\ not found, using \Font2\"
  207.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  208.  
  209. @ParameterStatus     "idle"    : "idle"
  210. @ParameterStatus     "busy"    : "processing job"
  211. @ParameterStatus     "waiting"    : "preparing data"
  212. @ParameterStatus    "printing"    : "printing"
  213.  
  214. @Comment: a null translation string causes no message to display.
  215. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  216.                 : ""
  217. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  218.                 : ""
  219.  
  220. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  221. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  222. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  223.     : "Printer performance may improve if you do not print with previous PageMaker versions on this network."
  224.  
  225. @ParameterPapertray    "letter":    "Letter"
  226. @ParameterPapertray    "legal":    "Legal"
  227. @ParameterPapertray    "executive":    "Executive"
  228. @ParameterPapertray    "a4":         "A4"
  229.  
  230. @ParameterEnvtray    "com10":    "Com-10"
  231. @ParameterEnvtray    "monarc":    "Monarch"
  232. @ParameterEnvtray    "c5":        "C5"
  233. @ParameterEnvtray    "dl":        "DL"
  234.  
  235. @ParameterUndeftray    "letter":    "Letter paper"
  236. @ParameterUndeftray    "legal":    "Legal paper"
  237. @ParameterUndeftray    "executive":    "Executive paper"
  238. @ParameterUndeftray    "a4":         "A4 paper"
  239. @ParameterUndeftray    "com10envelope":    "Com-10 envelopes"
  240. @ParameterUndeftray    "monarcenvelope":    "Monarch envelopes"
  241. @ParameterUndeftray    "c5envelope":    "C5 envelopes"
  242. @ParameterUndeftray    "dlenvelope":    "DL envelopes"
  243.  
  244. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  245.  
  246. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: settray ]%%"
  247.                 : "Please make sure the Lower Cassette is properly attached to your printer, and print again."
  248.  
  249. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: \Envtray\envelopetray ]%%"
  250.                 : "Please place the Envelope tray in your printer, and print again."
  251.  
  252. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: \Papertray\tray ]%%"
  253.                 : "Please place the \Papertray\ paper tray in your printer, and print again."
  254.  
  255. @PrinterErrorAlert    "%%[ Error: undefined; OffendingCommand: \Undeftray\tray ]%%"
  256.                 : "This printer does not support \Undeftray\, please print again and select a different printer or paper size from the print dialog."
  257.  
  258. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  259.                 : "The font being downloaded has not been initialized for this printer."
  260.  
  261. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  262.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  263.  
  264. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  265.                 : "The printer had to wait too long, and went on to the next job; try again."
  266.  
  267. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  268.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  269.  
  270. @PrinterErrorAlert    "Fatal system error \error\"
  271.                 : "The printer has encountered an error. Simplify your document or try again."
  272.  
  273.